From: Jasper St. Pierre Date: Mon, 25 Jun 2012 21:57:39 +0000 (-0400) Subject: extensionDownloader: Fix loading of downloaded extensions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6393 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=48b83f1ffdb61df3bd47d03b37ee125f70a014d8;p=gnome-shell.git extensionDownloader: Fix loading of downloaded extensions We refactored the ExtensionSystem API to take an extension object, but forgot to update the downloader. https://bugzilla.gnome.org/show_bug.cgi?id=679099 --- diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index c19559adb..ad7c5f539 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -91,7 +91,8 @@ function gotExtensionZipFile(session, message, uuid) { global.settings.set_strv(ExtensionSystem.ENABLED_EXTENSIONS_KEY, enabledExtensions); } - ExtensionSystem.loadExtension(dir, ExtensionUtils.ExtensionType.PER_USER, true); + let extension = ExtensionUtils.createExtensionObject(uuid, dir, ExtensionUtils.ExtensionType.PER_USER); + ExtensionSystem.loadExtension(extension); }); }